package com.wh.wisdomsite.xbox.pojo.ba;

import java.io.Serializable;


/**
 * 附件上传出参
 * @author 谢泽鹏
 * @version V1.0
 * @Package com.wh.message.file.pojo
 * @date 2014年10月8日 下午4:02:14
 * @Copyright 个人版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
public class MinioUpFileOut implements Serializable {

    /**
     * 附件id
     */
    private String fileId;

    /**
     * 附件url
     */
    private String url;

    /**
     * 附件大小(默认kb)
     */
    private String size;

    /**
     * 附件后缀
     */
    private String fix;

    /**
     * 附件的MD5码
     */
    private String md5;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getFix() {
        return fix;
    }

    public void setFix(String fix) {
        this.fix = fix;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }



    /**
     * 构造函数
     * @param fileId 附件ID
     * @param url    附件地址
     * @param size   附件大小
     * @param fix    附件后缀
     * @param md5    附件加密码
     */
    public MinioUpFileOut(String fileId, String url, String size, String fix, String md5) {
        this.fileId = fileId;
        this.url = url;
        this.size = size;
        this.fix = fix;
        this.md5 = md5;
    }

    /**
     * 构造函数
     */
    public MinioUpFileOut() {

    }

    @Override
    public String toString() {
        return "MinioUpFileOut{" +
                "fileId='" + fileId + '\'' +
                ", url='" + url + '\'' +
                ", size='" + size + '\'' +
                ", fix='" + fix + '\'' +
                ", md5='" + md5 + '\'' +
                '}';
    }
}